Automatic power supply selector for a ACPI-compliant PCI devices

ABSTRACT

Apparatus for automatically selecting one of two or more available power supply voltages for use as a main power supply of a PCI adapter is described. In one embodiment, a power supply selector is designed such that the presence of a positive voltage at a Vaux input thereof prevents power at a Vcc input thereof from driving a main power supply input to a PCI adapter. Conversely, the absence of a positive voltage at the Vaux results in the main power supply input to the PCI adapter being derived from the Vcc input. In an alternative embodiment, jumpers are provided for enabling a user to select which power supply will be used as the “default” power supply for the adapter.

BACKGROUND

[0001] The disclosures herein relate generally to Advanced Configuration and Power Interface (“ACPI”)-compliant Peripheral Component Interface (“PCI”) devices and more particularly to an automatic power supply selector for such devices.

[0002] In early 1997, Intel Corporation, Microsoft Corporation, and Toshiba America Information Systems Inc. published an open specification to bring easy, flexible power management to a broad array of personal computer (“PC”) products, including servers, business systems, and desktop and portable computers. The new specification, known as the Advanced Configuration and Power Interface Specification (“ACPI”) version 1.0, enables PCS to come on instantly when accessed by a user and to remain available to perform automated tasks after they are turned off. ACPI enhances power management in PCS to provide a low-power sleep state that can be used instead of turning the PC off. ACPI also enables PCS to turn on and off peripherals such as CD-ROMs, network cards, hard disk drives and printers, as well as consumer electronics connected to a PC, such as VCRs, TVS, phones and stereos. Using ACPI, connected devices in turn will be able to activate the PC, making it easier for users to perform automated tasks and to integrate PCS into home communications and entertainment centers.

[0003] At least one type of motherboard produced by a well-known PC manufacturer does not support ACPI, but does provide a +3.3 volt power supply at a Vaux pin of each PCI adapter slot for connecting PCI devices to a PCI bus thereof, in addition to main power supply pins, defined as Vcc. The Vaux pin is defined as pin A14 in the PCI Local Bus Specification, PCI Special Interest Group, Rev. 2.1 (1995) (hereinafter “PCI 2.1 specification”), which is hereby incorporated by reference in its entirety. The Vaux pin along with a control pin A19, which is defined as PME#, are required for designs whether they are ACPI-compliant or not.

[0004] An extreme case, which should be supported by every motherboard, is where both Vaux and Vcc are supplied to a PCI device. In this case, the two power supplies should never be connected together.

[0005] Therefore, what is needed is a device for automatically switching between available power supply voltages depending upon the presence or absence of an auxiliary power supply.

SUMMARY

[0006] One embodiment, accordingly, provides an apparatus for automatically selecting one of two or more available power supply voltages for use as a main power supply of a PCI adapter. In one embodiment, a power supply selector is designed such that the presence of a positive voltage at a Vaux input thereof prevents power at a Vcc input thereof from driving a main power supply input to the PCI adapter. Conversely, the absence of a positive voltage at the Vaux input results in the main power supply input to the PCI adapter being derived from the Vcc input.

[0007] An alternative embodiment enables a user to select, via jumper settings, whether Vcc or Vaux will be used as the “default” power supply.

[0008] A technical advantage achieved with the power supply selector is that it prevents both Vcc and Vaux from being simultaneously provided to a PCI adapter.

BRIEF DESCRIPTION OF THE DRAWINGS

[0009]FIG. 1 is a system block diagram of a computer system embodying features of one embodiment of a power supply selector.

[0010]FIG. 2 is a schematic diagram of the power supply selector of FIG. 1.

[0011]FIG. 3 is a schematic diagram of an alternative embodiment of the power supply selector of FIG. 1

DESCRIPTION OF A PREFERRED EMBODIMENT

[0012]FIG. 1 is a system block diagram of a computer system 10 embodying features of a power supply selector of one embodiment. As shown in FIG. 1, the computer system 10 includes a CPU 12 connected to memory 16 and other devices and/or buses (not shown) via a system bus 18. A power supply 12 is provided for providing power to the various devices of the computer system 10 in a conventional manner via a connector on a motherboard (not shown) of the system 10. A PCI bus 20, including a plurality of PCI slots 22 each having a PCI slot connector 24, is connected to the system bus 18 via appropriate bridge logic 25. For purposes of illustration, a PCI modem adapter 26 and a network interface card (“NIC”) 28 are shown as being connected to the PCI bus 20 via respective PCI slots 22 and complementary connectors 30, although it will be recognized that the embodiments described herein will be applicable to a variety of ACPI-compliant devices. Each of the PCI modem adapter 26 and the NIC 28 each include power selector logic 32 adapter for purposes that will be described in greater detail below with reference to FIG. 2.

[0013] In a preferred embodiment, all illustrated components other than the power supply 14 reside on a motherboard (not shown) of the computer 10.

[0014]FIG. 2 is a schematic diagram of the power supply selector 32 in accordance with a preferred embodiment. A Vaux input 202 a and a Vcc input 202 b of the power supply selector 32 are respectively connected, via corresponding pins of the connectors 24, 30, to receive Vaux (approximately +3.3 volts) and Vcc (approximately +5.0 volts) from the power supply 14 (FIG. 1). As shown in FIG. 2, the presence of a positive voltage at the Vaux input 202 a turns a first transistor Q1 ON, which in turn turns a second transistor Q2 ON. In addition, when Q1 is ON, a third transistor Q3 is OFF, thus preventing power from the Vcc input 202 b from driving Vaux, which supplies the main power for a PCI adapter (not shown).

[0015] In contrast, the absence of a positive voltage at the Vaux input 202 a results in transistor Q1 being OFF, thereby turning the transistor Q2 OFF and the transistor Q3 ON. As a result, power is prevented from being supplied to the PCI adapter via the Vaux input 202 a and the main power therefor is supplied via the Vcc input 202 b. As shown in FIG. 2, an optional regulator 204 may be included for regulating Vcc prior to its being provided to the transistor Q3.

[0016] For ACPI compliance, PME# circuitry of the PCI adapter will be driven off the main power supply to the PCI adapter, due to the fact that PME# needs power regardless of whether Vaux is present.

[0017] As the foregoing discussion clearly demonstrates, any time Vaux is present at the Vaux input 202 a, it will be used as the main power supply to the PCI adapter; in its absence, Vcc will be used. Accordingly, the power supply selector 32 prevents the PCI adapter from being simultaneously connected to both Vaux and Vcc.

[0018] It will be recognized that the voltages applied at the Vaux input 202 a and the Vcc input 202 b could be reversed, with +5 volts applied at the input 202 a and +3.3 volts applied at the input 202 b, if it is desirable to have +5 volts be the default voltage level.

[0019]FIG. 3 is a schematic diagram of an alternative embodiment 32′ of the power supply selector 32. The power supply selector 32′ is identical in all respects to the power supply selector 32, except that, as described in greater detail below, jumpers J1, J2, J3, and J4, are provided for enabling a user to select which power supply (i.e., Vcc or Vaux) will be used as the default power supply. In contrast, the power supply 32 is configured such that Vaux is always the default power supply.

[0020] Referring to FIG. 3, it will be recognized that if jumpers J1 and J3 are set, Vaux will be used as the default power supply; in contrast, if jumpers J2 and J4 are present, or set, Vcc will be used as the default power supply.

[0021] Although an illustrative embodiment has been shown and described, other modifications, changes, and substitutions are intended in the foregoing disclosure. Accordingly, it is appropriate that the appended claims be construed broadly and in a manner consistent with the scope of the disclosure. 

What is claimed is:
 1. Apparatus for selecting one of two voltages to be output for use as a power supply, the apparatus comprising: a first switch means connected to a first input; a second switch means connected between the first input and an output and further connected to the first switch means; and a third switch means connected between a second input and the output and further connected to the first and second switch means; wherein when a first voltage is present at the first input, the first and second switches are in a conductive state and the third switch means is in a nonconductive state, such that only the first voltage is provided at the output; and wherein when the first voltage is not present at the first input, the first and second switches are in a nonconductive state and the third switch is in a conductive state, such that a second voltage applied at the second input is provided at the output
 2. The apparatus of claim 1 wherein the first, second, and third switch means are transistors.
 3. The apparatus of claim 1 further comprising a voltage regulator connected between the second input and the third switch means.
 4. The apparatus of claim 1 wherein the first voltage is less than the second voltage.
 5. The apparatus of claim 1 wherein the first voltage is +3.3 volts and the second voltage is +5 volts.
 6. The apparatus of claim 1 wherein the first voltage is +5 volts and the second voltage is +3.3 volts.
 7. An adapter card including means for selecting one and only one of two voltages for use by the adapter card as a main power supply voltage, the adapter card further comprising: means responsive to application of a first voltage at a first input of the adapter card for using the first voltage as the main power supply and preventing a second voltage applied at a second input of the adapter card from being used as the main power supply; and means responsive to a first voltage not being applied to the first input of the adapter card for using the second voltage applied to the second input as the main power supply.
 8. The adapter card of claim 7 wherein the adapter card is a PCI adapter.
 9. The adapter card of claim 7 wherein the first voltage is less than the second voltage.
 10. The adapter card of claim 7 wherein the first voltage is +3.3 volts and the second voltage is +5 volts.
 11. The adapter card of claim 7 wherein the first voltage is +5 volts and the second voltage is +3.3 volts.
 12. The adapter card of claim 7 further comprising means for regulating the second voltage.
 13. The adapter card of claim 7 wherein the means responsive to the first voltage being present at the first input comprises at least one transistor.
 14. The adapter card of claim 7 wherein the means responsive to the voltage not being present at the first input comprises at least one transistor.
 15. A computer system comprising a CPU, a power supply, and memory and further comprising a plug-in adapter including a power selector circuit connected to the power supply for selecting one of two power supply voltages for use by the adapter as a main power supply, the power selector circuit further comprising: a first switch means connected to a first input for receiving a first voltage from the power supply; a second switch means connected between the first input and an output and further connected to the first switch means, wherein a voltage at the output is used as the main power supply of the adapter; and a third switch means connected between a second input for receiving a second voltage from the power supply and the output and further connected to the first and second switch means; wherein when a first voltage is present at the first input, the first and second switches are in a conductive state and the third switch means is in a nonconductive state, such that only the first voltage is provided at the output; and wherein when the first voltage is not present at the first input, the first and second switches are in a nonconductive state and the third switch is in a conductive state, such that a second voltage applied at the second input is provided at the output.
 16. The computer system of claim 15 wherein the first, second, and third switch means are transistors.
 17. The computer system of claim 15 wherein the power supply selector further comprises a voltage regulator connected between the second input and the third switch means.
 18. The computer system of claim 15 wherein the first voltage is less than the second voltage.
 19. The computer system of claim 15 wherein the first voltage is +3.3 volts and the second voltage is +5 volts.
 20. The computer system of claim 15 wherein the first voltage is +3.3 volts and the second voltage is +5 volts.
 21. A method of selecting one of two voltages to be provided at an output of a power selector, the method comprising: determining whether a first voltage is applied at a first input of the power selector; if a first voltage is detected at the first input, providing the first voltage at the power selector output and preventing a second voltage applied at a second input of the power selector from being provided at the power selector output; if a first voltage is not detected at the first input, providing the second voltage applied at the second input at the power selector output.
 22. The method of claim 21 further comprising regulating the second voltage.
 23. The method of claim 21 wherein the first voltage is +5 volts and the second voltage is +3.3 volts.
 24. The method of claim 21 wherein the first voltage is +3.3 volts and the second voltage is +5 volts.
 25. Apparatus for selecting one of two voltages to be output for use as a power supply, the apparatus comprising: a first switch means connected to a first input; a second switch means connected between the first input and an output and further connected to the first switch means; a third switch means connected between a second input and the output and further connected to the first and second switch means; and first and second pairs of user-settable jumpers; wherein when the first pair of jumpers is set and a first voltage is present at the first input, the first and second switches are in a conductive state and the third switch means is in a nonconductive state, such that only the first voltage is provided at the output; wherein when the first pair of jumpers is set and the first voltage is not present at the first input, the first and second switches are in a nonconductive state and the third switch is in a conductive state, such that a second voltage applied at the second input is provided at the output; wherein when the second pair of jumpers is set and the second voltage is present at the second input, the first and second switches are in a conductive state and the third switch means is in a nonconductive state, such that only the second voltage is provided at the output; and wherein when the second pair of jumpers is set and the second voltage is not present at the second input, the first and second switches are in a nonconductive state and the third switch is in a conductive state, such that the first voltage applied at the first input is provided at the output.
 26. The apparatus of claim 25 wherein the first, second, and third switch means are transistors.
 27. The apparatus of claim 25 further comprising a voltage regulator connected between the second input and the third switch means.
 28. The apparatus of claim 25 wherein the first voltage is +5 volts and the second voltage is +3.3 volts.
 29. The apparatus of claim 25 wherein the first voltage is +3.3 volts and the second voltage is +5 volts.
 30. A method of selecting one of two voltages to be provided at an output of a power selector, the method comprising: determining whether a first pair of user-settable jumpers is set; if the first pair of user-settable jumpers is set, determining whether a first voltage is applied at a first input of the power selector and if the first voltage is detected at the first input, providing the first voltage at the power selector output and preventing a second voltage applied at a second input of the power selector from being provided at the power selector output and if the first voltage is not detected at the first input, providing the second voltage applied at the second input at the power selector output.
 31. The method of claim 30 further comprising: if the first pair of user-settable jumpers is not set, determining whether a second pair of user-settable jumpers is set; and if the second set of user-settable jumpers is set, determining whether a second voltage is applied at a second input of the power selector and if the second voltage is detected at the first input, providing the second voltage at the power selector output and preventing a first voltage applied at a second input of the power selector from being provided at the power selector output and if the second voltage is not detected at the second input, providing the first voltage applied at the first input at the power selector output.
 32. The method of claim 30 further comprising regulating the second voltage.
 33. The method of claim 30 wherein the first voltage is +3.3 volts and the second voltage is +5 volts. 